package com.baizhi.cmfz.service;

import com.baizhi.cmfz.entity.Guru;

import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface GuruService {
    Map selectGuru(int page,int limit);

    Map addGuru(Guru guru);

    Map deleteGuru(int guruId);

    Guru selectOneGuru(int guruId);
    List<Guru> selectAllGuru();

    /*void multiAddGuru(List<Guru> gurus);*/

    Map updateGuru(Guru guru);

    Map updateGuruStatus(int guruId, int guruStatus);

    Map multiAddGuru(String filePath) throws IOException;

    Map downLoadGuru() throws IllegalAccessException, IOException;
}
